using RAG.Domain.Entities.App;

namespace RAG.Domain.Repositories;

public interface IDocumentChunkRepository
{
    Task<DocumentChunks> CreateAsync(DocumentChunks chunk);
    Task<DocumentChunks?> GetByIdAsync(Guid id);
    Task<List<DocumentChunks>> GetByDocumentIdAsync(Guid documentId);
    Task<List<DocumentChunks>> GetChunksWithVectorsAsync(List<Guid> chunkIds);
    Task DeleteByDocumentIdAsync(Guid documentId);
}
